//
//  DoctorLabel.m
//  项目唯一
//
//  Created by 谌桃 on 16/7/6.
//  Copyright © 2016年 ryan.chen. All rights reserved.
//

#import "DoctorLabel.h"

@implementation DoctorLabel

- (instancetype)initWithFrame:(CGRect)frame{

    self = [super initWithFrame:frame];
    if (self) {
        [self setupUI];
    }
    return self;
}

- (void)setupUI{

    CGFloat fontSize = 14;
    
    if (kDevice_Is_iPhone5) {
        fontSize = 15;
    }else if (kDevice_Is_iPhone6){
        fontSize = 16;
    }else if (kDevice_Is_iPhone6Plus){
        fontSize = 18;
    }
    self.font = FONT(fontSize);
}

@end
